Tip of executing ant tasks programatically

http://myjavablog.blogspot.com/2006/01/executing-ant-tasks-programatically.html
http://myjavablog.blogspot.com/2006/01/enumerating-ant-targets.html